package com.wing.setting.model.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * VO
 *
 * @author
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class ProcessInfoVO {

    /**
     * ID
     */
    private Long id;

    /**
     * 创建时间
     */
    @JsonFormat(timezone = "GMT+8" , pattern = "yyyy-MM-dd HH:mm:ss" )
    private LocalDateTime createTime;

    /**
     * 创建者
     */
    private Long creator;

    /**
     * 修改者
     */
    private Long modifier;

    /**
     * 创建人
     */
    private String creatorName;

    /**
     * 修改人
     */
    private String modifierName;



    private String productTypeName;

    /**
     * 节点名称
     */
    private String nodeNames;

    /**
     * 节点编码
     */
    private String nodeCodes;

    /**
     * 部门id
     */
    private Long departmentId;


    private String departmentName;

    /**
     * 节点类型id
     */
    private Long nodeTypes;

    /**
     * 是否支持委外
     */
    private Boolean isOutsource;

    /**
     * 是否用到工序
     */
    private Boolean isUseknifeProcess;

    /**
     * 是否需要质检
     */
    private Boolean isDetection;

    /**
     * 检验频率
     */
    private Boolean isDetectionAll;


    private Integer sortNumber;

    private String remark;

    private Long roomInfoId;

    private Long roomInfoName;
    /**
     * 是否被选择
     */
    private Boolean elect = false;
}
